import request from '@/utils/request';

// 查询成长值配置列表
export const listGrowthConfig = (data) => {
  return request({
    url: '/console/growth/listGrowthConfig',
    method: 'POST',
    data,
  })
}
// 查询成长值配置
export const queryGrowthConfig = (data) => {
  return request({
    url: '/console/growth/queryGrowthConfig',
    method: 'POST',
    data
  })
}
// 保存/修改成长值配置
export const saveGrowthConfig = (data) => {
  return request({
    url: '/console/growth/saveGrowthConfig',
    method: 'POST',
    data
  })
}
// 启用/禁用成长值配置
export const enableGrowthConfig = (data) => {
  return request({
    url: '/console/growth/enableGrowthConfig',
    method: 'POST',
    data
  })
}
// 查询成长等级权益配置列表
export const listGrowthRights = (data) => {
  return request({
    url: '/console/growth/listGrowthRights',
    method: 'POST',
    data
  })
}
// 查询成长等级权益配置
export const queryGrowthRights = (data) => {
  return request({
    url: '/console/growth/queryGrowthRights',
    method: 'POST',
    data
  })
}
// 保存/修改成长等级权益配置
export const saveGrowthRights = (data) => {
  return request({
    url: '/console/growth/saveGrowthRights',
    method: 'POST',
    data
  })
}
// 保存/修改成长等级权益配置
export const deleteGrowthRights = (data) => {
  return request({
    url: '/console/growth/deleteGrowthRights',
    method: 'POST',
    data
  })
}